<?php get_header(); ?>

<?php 

    $canon_options_post = get_option('canon_options_post'); 

    // EMPTY VARS FAILSAFE
    if (!isset($canon_options_post['use_woocommerce_sidebar'])) { $canon_options_post['use_woocommerce_sidebar'] = "unchecked"; }

?>

		 <!-- Start Main Body -->
        <div class="main-container">
            <div class="main wrapper clearfix">
            	
            	<!-- Start Main Content -->
                <div class="main-content<?php if ($canon_options_post['use_woocommerce_sidebar'] != "checked") { echo ' full'; }  ?>">
                	<div class="clearfix">
                		
                        <?php woocommerce_content(); ?> 
 
                                                                       
					<!-- Finish Main Content -->
                	</div>    
                </div>			

				<!-- SIDEBAR -->
                <?php if ($canon_options_post['use_woocommerce_sidebar'] == "checked") { get_sidebar('woocommerce'); } ?>


        	</div> <!-- #main -->
        </div> <!-- #main-container -->

<?php get_footer(); ?>
    